package com.platform.service.impl;

import com.platform.dao.SysOptionLogDao;
import com.platform.entity.SysOptionLogEntity;
import com.platform.service.SysOptionLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 系统日志Service实现类
 *
 * @author liweihai
 * @email liweihai12345@sina.com
 * @date 2019-04-11 11:24:41
 */
@Service("sysOptionLogService")
public class SysOptionLogServiceImpl implements SysOptionLogService {
    @Autowired
    private SysOptionLogDao sysOptionLogDao;

    @Override
    public SysOptionLogEntity queryObject(Long id) {
        return sysOptionLogDao.queryObject(id);
    }

    @Override
    public List<SysOptionLogEntity> queryList(Map<String, Object> map) {
        return sysOptionLogDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return sysOptionLogDao.queryTotal(map);
    }

    @Override
    public int save(SysOptionLogEntity sysOptionLog) {
        return sysOptionLogDao.save(sysOptionLog);
    }

    @Override
    public int update(SysOptionLogEntity sysOptionLog) {
        return sysOptionLogDao.update(sysOptionLog);
    }

    @Override
    public int delete(Long id) {
        return sysOptionLogDao.delete(id);
    }

    @Override
    public int deleteBatch(Long[] ids) {
        return sysOptionLogDao.deleteBatch(ids);
    }
}
